			<div id="main">
				<div id="content">
					<div class="header">
						<h2>Profile</h2>
					</div>
					<div class="content">
			         	<a href="profile">Profile</a> | <a href="equipment">Equipment</a> | <a href="add_stats">Add Stats</a>
        				<div id="profile">
        					<p><b>Profile</b></p>
        					<table>
        					<?php foreach($character as $id => $i): ?>
        					<tr>
        						<td colspan='2'><img src='<?=base_url()?>/img/<?=$i['image']?>' /></td>
        					</tr>
        					<tr>
        						<td><strong>Level <?=$i['level']?> <?=$i['class']?></strong></td>
        						<td>Gold: <strong><?=$i['gold']?></strong></td>
        					</tr>
        					<tr>
        						<td>Strength: <strong><?=$i['strength']?></strong></td>
        						<td>Agility: <strong><?=$i['agility']?></strong></td>
        					</tr>
        					<tr>
        						<td>Vitality: <strong><?=$i['vitality']?></strong></td>
        						<td>Spirit: <strong><?=$i['spirit']?></strong></td>
        					</tr>
        					<tr>
        						<td>Energy: <strong><?=$i['energy']?></strong></td>
        						<td>Armor: <strong><?=$i['armor']?></strong></td>
        					</tr>
        					<tr>
        						<td>Min Attack: <strong><?=$i['minattack']?></strong></td>
        						<td>Max Attack: <strong><?=$i['maxattack']?></strong></td>
        					</tr>
        					<tr>
        						<td>Life: <strong><?=$i['curlife']?> / <?=$i['maxlife']?></strong></td>
        						<td><?php if($i['class'] == 'Fighter'): ?>Rage: <?php else: ?>Mana: <?php endif;?><strong><?=$i['curmana']?> / <?=$i['maxmana']?></strong></td>
        					</tr>
							<tr>
								<td colspan="2">Experience: <strong><?=$i['curxp']?>%</strong></td>
							</tr>
        					<?php endforeach;?>
        					</table>
        				</div>
					</div>
					<div class="footer"></div>
				</div>